package com.mit.service.design.dao;

import java.util.List;

import com.mit.common.design.dto.StyleDTO;
import com.mit.common.exception.NoRecordUpdateException;

public interface IStyleMasterDAO {
	StyleDTO createStyle(StyleDTO style);
	StyleDTO updateStyle(StyleDTO style) throws NoRecordUpdateException;
	StyleDTO retrieveStyle(Integer id);
	List<StyleDTO> retrievePagedStyles(String searchCode, String searchState, Integer orgId, Integer pageNo, Integer pageSize);
	Integer retrieveStyleRecordCount(String searchCode, String searchState, Integer orgId);
	
	List<StyleDTO> retrievePagedSampleTasks(String searchCode, String taskState, Integer orgId, Integer pageNo, Integer pageSize);
	Integer retrieveSampleTaskCount(String searchCode, String taskState, Integer orgId);
	StyleDTO updateSampleTask(StyleDTO style) throws NoRecordUpdateException;
	StyleDTO updateDressTask(StyleDTO style) throws NoRecordUpdateException;
	
}
